{% extends 'machine/base.html' %}
{% block body_block %}
<div class="ui celled list relaxed" style="position: relative;top: 100px">
	<style type="text/css">
		.top{
			font-family:'Microsoft YaHei';
			font-size:14px;
		}
		input{
			width:260px;
			border:1px solid #e2e2e2;
			height:30px;
			float:left;
		}
		#search{
			width:78px;
			height:32px;
			float:right;
			cursor:pointer;
		}
	</style>
	<div class="top">
		<h1 style="text-align:center">XKOJ在线题库</h1>
		<input type="search" name="search" placeholder="请输入关键字">
		<div id="search">搜索</div>
	</div>
	<div class="item">
		<br>
		<br>
	</div>
{% for p in problems %}
    <div class="item">
          <div class="content">
              <p style="font-size: 18px">
      	          {{forloop.counter}}. <a href="{{p.link}}">{{p.name}}</a>
              </p>
          </div>
    </div>
{% endfor %}
</div>
{% endblock %}
